import {Config} from 'ionic-angular';

export class SubPage {
  constructor(public config: Config) {
    this.config.set('pageTransition', 'ios-transition')
  }

  ionViewDidLeave() {
    this.config.set('pageTransition', 'md-transition')
  }
}
